package com.yngrp.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *  @Description: 集团用户电费查询任务
 *  @author  SLH
 *  @date  20160817
 */
@Entity
@Table(name = "yl_task_elecquery")
public class TaskElecQuery implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	
	/** 主键 **/
	private Integer id;
	
	/**标题**/
	private String queryDate;
	
	/**集团用户数**/
	private Integer groupNum;
	
	/**申请状态编码**/
	private String state;
	
	/**申请状态描述**/
	private String stateDesc;
	
	/**任务生成方式**/
	private String createMode;
	
	/**任务生成时间**/
	private Date createDatetime;

	@Id
	@GeneratedValue (strategy = GenerationType.IDENTITY) 
	@Column(name ="ID",nullable=false,length=10)
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name ="queryDate")
	public String getQueryDate() {
		return queryDate;
	}

	public void setQueryDate(String queryDate) {
		this.queryDate = queryDate;
	}

	@Column(name ="group_num")
	public Integer getGroupNum() {
		return groupNum;
	}

	public void setGroupNum(Integer groupNum) {
		this.groupNum = groupNum;
	}

	@Column(name ="state")
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Column(name ="state_desc")
	public String getStateDesc() {
		return stateDesc;
	}

	public void setStateDesc(String stateDesc) {
		this.stateDesc = stateDesc;
	}

	@Column(name ="create_mode")
	public String getCreateMode() {
		return createMode;
	}

	public void setCreateMode(String createMode) {
		this.createMode = createMode;
	}

	@Column(name ="create_datetime")
	public Date getCreateDatetime() {
		return createDatetime;
	}

	public void setCreateDatetime(Date createDatetime) {
		this.createDatetime = createDatetime;
	}

}
